[FIX] create & open the correct temp path for line-profiler test results (based on the iteration index)#953
[FIX] create & open the correct temp path for line-profiler test results (based on the iteration index)#953mohammedahmed18 wants to merge 1 commit into
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
| test_env=test_env, | ||
| test_files=self.test_files, | ||
| optimization_iteration=0, | ||
| optimization_iteration=candidate_index, |
There was a problem hiding this comment.
@mohammedahmed18 not sure if this will have any effect
There was a problem hiding this comment.
yep, noticed that, still looking into it
PR Type
Bug fix
Description
Use candidate index for optimization iteration
Ensure unique temp path per profiler run
Diagram Walkthrough
File Walkthrough
function_optimizer.py
Correct optimization_iteration to candidate indexcodeflash/optimization/function_optimizer.py
candidate_indexasoptimization_iteration.0to avoid path conflicts.